<!--
 * @Author: cqg
 * @Date: 2020-12-14 11:15:53
 * @LastEditTime: 2020-12-18 10:53:35
 * @Description: file content
 * @LastEditors: cqg
-->
<template>
  <div>
    <el-form :model="form" class="form-wrap">
      <p class="title full">结算情况</p>
      <el-form-item label="文号" prop="settleDocument">
        <el-input disabled v-model="form.settleDocument" placeholder="请输入" />
      </el-form-item>
      <el-form-item label="结算日期" prop="settleDate">
        <el-date-picker disabled v-model="form.settleDate" type="date" value-format="yyyy-MM-dd" placeholder="选择日期" />
      </el-form-item>
      <el-form-item label="结算单位" prop="settleUnit">
        <el-input disabled v-model="form.settleUnit" placeholder="请输入" />
      </el-form-item>
      <el-form-item label="送审金额(元)" prop="settleReview">
        <el-input disabled placeholder="请输入" v-only-number="{min:0,precision:2}" v-model="form.settleReview" />
      </el-form-item>
      <el-form-item label="审定金额(元)" prop="settleApproval">
        <el-input disabled placeholder="请输入" v-only-number="{min:0,precision:2}" v-model="form.settleApproval" />
      </el-form-item>
      <el-form-item label="核减金额(元)" prop="settleSubtract">
        <el-input disabled placeholder="请输入" v-only-number="{min:0,precision:2}" v-model="form.settleSubtract" />
      </el-form-item>
      <p class="title full">决算情况</p>
      <el-form-item label="文号" prop="finalDocument">
        <el-input disabled v-model="form.finalDocument" placeholder="请输入" />
      </el-form-item>
      <el-form-item label="决算日期" prop="finalDate">
        <el-date-picker disabled v-model="form.finalDate" type="date" value-format="yyyy-MM-dd" placeholder="选择日期" />
      </el-form-item>
      <el-form-item label="决算单位" prop="finalUnit">
        <el-input disabled v-model="form.finalUnit" placeholder="请输入" />
      </el-form-item>
      <el-form-item label="送审金额(元)" prop="finalReview">
        <el-input disabled placeholder="请输入" v-only-number="{min:0,precision:2}" v-model="form.finalReview" />
      </el-form-item>
      <el-form-item label="审定金额(元)" prop="finalApproval">
        <el-input disabled placeholder="请输入" v-only-number="{min:0,precision:2}" v-model="form.finalApproval" />
      </el-form-item>
      <el-form-item label="核减金额(元)" prop="finalSubtract">
        <el-input disabled placeholder="请输入" v-only-number="{min:0,precision:2}" v-model="form.finalSubtract" />
      </el-form-item>
      <p class="title full">附件</p>
    </el-form>

    <v-upload :busId="form.projectEndId" modelType="finalAccounts" v-model="uploadFileList" :isView="true" />
  </div>
</template>

<script>
import OverviewMixins from '../public/overviewMixins'
export default {
  mixins: [OverviewMixins],
  props: ['form'],
}
</script>